package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author xueshaorui
 * @since 2022-05-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AssetsWasting对象", description="")
public class AssetsWasting implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String state;
    private String address;
    private Integer num;
    @ApiModelProperty(value="新增时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate updateTime;

    private String warehouse;


}
